import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-transtion',
  templateUrl: './transtion.component.html',
  styleUrls: ['./transtion.component.css']
})
export class TranstionComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  }

  hideAside() {
    let aside = document.getElementById('aside')

    aside.style.transform='translate3D(100%, 0, 0)'
  }

  showAside() {
    let aside = document.getElementById('aside')

    aside.style.transform='translate3D(0, 0, 0)'
  }

}
